<?php
$session=new CHttpSession();
$session->open();
$i=$session['i'];
?>

<dl<?if(($i%2)==1) echo ' class="fore"'; ?>>
    <dt><strong class="fl"><?php echo $data->post_user->nickname;?>：</strong><div class="fore1"><?php echo $data->content;?></div></dt>
    <dd><strong class="fl">提交时间：</strong><div class="fore1"><?php echo $data->time;?></div></dd>
</dl>

<?php
$session['i']=$i+1;
?>